package com.bwie.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName tb_order
 */
@TableName(value ="tb_order")
@Data
public class TbOrder implements Serializable {
    /**
     * 订单id
     */
    @TableId(type = IdType.AUTO)
    private Integer orderId;

    /**
     * 订单状态
     */
    private String orderStatus;

    /**
     * 商品id
     */
    private Integer couponCodeId;

    /**
     * 交易时间
     */
    private Date tradeTime;

    private Integer userId;

    private Double price;
    private Integer orderNum;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}